<style>
.unit label{
	width:125px;
}
</style>
<div class="pageContent">
	<form method="post" action="__URL__/addp/parameter/insertp/navTabId/__MODULE__/callbackType/closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
	    <input type="hidden" name="pid" value="{$id}"/>
	    <input type="hidden" name="storename" value="{$storename}"/>         
	    <div class="pageFormContent" layoutH="150">
			<div class="unit">
				<label>接货员：</label>
				<input name="whp" type="text" class="required" />
			</div>
			<div class="unit">
				<label>合同产品名称：</label>
				<input type="text" name="product" class="required"/>
			</div>
			<!--  <div class="unit">
				<label>库存/吨：</label>
				<input type="text" name="stock" />		
			</div>
			-->
			<!-- 
			<div class="unit">
				<label>车牌号：</label>
				<input type="text" name="lpm"/>
			</div>
			<div class="unit">
				<label>净重(kg)：</label>
				<input name="we" type="text"/>
			</div>
			<div class="unit">
				<label>总重(kg)：</label>
				<input name="tw" type="text"/>
			</div>
			<div class="unit">
				<label>毛重(kg)：</label>
				<input type="text" name="rw"/>
			</div> -->
		
			<div class="unit">
				<label>基础产品名称：</label>
				<input type="text" value="{$sm['product']}" readonly/>
			</div>
		
		<div class="unit">
				<label>基础产品吨数：</label>
				<input type="text" name="capacity"  class="required"/>		
		</div>
		<div class="unit">
				<label>备注：</label>
				<textarea rows="3" cols="40" name="note"></textarea>
			</div>
     </div>
	 <div  width="100%" layoutH="170" >
		<div id = 'div4'>
		<table class="list nowrap itemDetail" addButton="选择辅料" width="100%">
						<thead>
							<tr>
							 <th type="lookup" name="items.org.goodname[#index#]" lookupGroup="items.org"   suggestFields="goodid,goodname"   lookupUrl="__URL__/addp/parameter/getgoods/storename/{$storename}" lookupPk="goodid"  size="12"  >辅料名称</th>
			                 <th type="text" name="items.itemQuality[#index#]" size="12" fieldClass="number"  >辅料吨数/吨</th>
			                 <!--  <th type="text" name="items.itemNote[#index#]"  >备注</th>-->
		                     <th type="del" width="60">操作</th>
		                    </tr>
						</thead>
						<tbody></tbody>
			</table>
			</div>
		</div>
		
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
